import { createApp } from 'vue'
import App from './App.vue'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import router from './router'
import pinia from './store'
import 'virtual:uno.css'
import "virtual:svg-icons-register"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import './style.less'
import { SvgIconPlugin } from "@/components/SvgIcon"


const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router).use(pinia).use(SvgIconPlugin).use(ElementPlus).mount('#app')
